package cn.springcloud.fix.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//请求oauth服务器/oauth/authorize获取code
//FilterChainProxy -> ExceptionTranslationFilter -> FilterSecurityInterceptor 抛出异常
//DefaultLoginPageGeneratingFilter 生成登录页面，点击登录
//UsernamePasswordAuthenticationFilter -> ProviderManager#authenticate -> DaoAuthenticationProvider#authenticate
//登录校验通过进入AuthorizationEndpoint
//code换取token，经过BasicAuthenticationFilter -> ProviderManager#authenticate -> DaoAuthenticationProvider#authenticate 进入/oauth/token
@SpringBootApplication
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }
}
